package cn.itcast.nems.order.dao.mapper;

import cn.itcast.nems.order.dao.entity.OrderCustomerRelationship;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 销售订单-客户关系 Mapper 接口
 * </p>
 *
 * @author liyong
 * @since 2023-08-31
 */
@Mapper
public interface OrderCustomerRelationshipMapper extends BaseMapper<OrderCustomerRelationship> {

    List<Map<String, Object>> orderCustomerRelationships(String customerName);

    Map<String, Object> orderCustomerRelationship(String customerId);
}
